﻿namespace TPXSDK.NET.Mission;

/// <inheritdoc />
/// <summary>
/// 编译过程事件参数
/// </summary>
public class CmpEventArgs(string msg, CmpEventArgs.MsgType type, string fileName, int row) : EventArgs
{
    public string Msg { get; } = msg;
    public string FileName { get; } = fileName;
    public int ErrorRow { get; } = row;
    public MsgType Type { get; } = type;

    #region Nested type: MSG_TYPE
    public enum MsgType
    {
        Info,
        Warn,
        Error
    }
    #endregion
}